﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
	CodeFile="RecoverPassword.aspx.cs" Inherits="RecoverPassword" meta:resourcekey="RecoverPassword" %>

<asp:Content ID="cntContenido" ContentPlaceHolderID="cntContenido" runat="Server">
	<asp:UpdatePanel ID="updInicioSesion" runat="server">
		<ContentTemplate>
			<div class="divForm">
				<div class="header">
					<div class="title">
						<asp:Label ID="lblTitle" runat="server" meta:resourcekey="lblTitle"></asp:Label>
					</div>
					<div class="subtitle">
						<asp:Label ID="lblSubTitle" runat="server" meta:resourcekey="lblSubTitle"></asp:Label>
					</div>
				</div>
				<div class="divField">
					<div class="label">
						<asp:Label ID="lbltitUserSecurityQuestion" runat="server" meta:resourcekey="lbltitUserSecurityQuestion"></asp:Label>
						<asp:RequiredFieldValidator ID="rfvddlUserSecurityQuestion" ErrorMessage="Seleccione la Pregunta de Seguridad" SetFocusOnError="true" runat="server" ControlToValidate="ddlUserSecurityQuestion"></asp:RequiredFieldValidator>
					</div>
					<div class="field">
						<asp:DropDownList ID="ddlUserSecurityQuestion" CssClass="W300" runat="server">
						</asp:DropDownList>
					</div>
				</div>
				<div class="divField">
					<div class="label">
						<asp:Label ID="lbltitUserSecurityAnswer" runat="server" meta:resourcekey="lbltitUserSecurityAnswer"></asp:Label>
						<asp:RequiredFieldValidator ID="rfvtxtUserSecurityAnswer" SetFocusOnError="true" ErrorMessage="Diligencie la Respuesta a la Pregunta de Seguridad" ControlToValidate="txtUserSecurityAnswer" runat="server"></asp:RequiredFieldValidator>
					</div>
					<div class="field">
						<asp:TextBox ID="txtUserSecurityAnswer" MaxLength="50" runat="server"></asp:TextBox>
					</div>
				</div>
				<div class="divField">
					<div class="label">
						<asp:Label ID="lbltitUserEmail" runat="server" meta:resourcekey="lbltitUserEmail"></asp:Label>
						<asp:RequiredFieldValidator ID="rfvtxtUserEmail" SetFocusOnError="true" runat="server" ErrorMessage="Diligencie su Email" ControlToValidate="txtUserEmail"></asp:RequiredFieldValidator>
						<asp:RegularExpressionValidator ID="revtxtUserEmail" SetFocusOnError="true"
							runat="server" meta:resourcekey="revtxtUserEmail"
							ControlToValidate="txtUserEmail" 
							ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Email inválido"></asp:RegularExpressionValidator>
					</div>
					<div class="field">
						<asp:TextBox ID="txtUserEmail" runat="server" MaxLength="150"></asp:TextBox>
					</div>
				</div>
				<div class="divOperations">
					<asp:Button ID="btnRecoverPassword" runat="server" Width="200px"
						meta:resourcekey="btnRecoverPassword" onclick="btnRecoverPassword_Click" />
				</div>
			</div>
		</ContentTemplate>
	</asp:UpdatePanel>
</asp:Content>
